<?xml version="1.0" encoding="us-ascii"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" encoding="US-ASCII"
		doctype-public="-//W3C//DTD HTML 4.01//EN"
		doctype-system="http://www.w3.org/TR/html4/strict.dtd" indent="yes"
		cdata-section-elements="javascript-escape" media-type="text/html" />
	<xsl:template match="/">
		<html>
			<head profile="http://www.w3.org/2005/10/profile">
				<link rel="stylesheet" type="text/css"
					href="{/delegator/request/@context-path}/style/" />
				<link rel="icon" type="image/png" href="favicon/" />
				<title>Own-Id</title>
			</head>
			<body>
				<div id="container">
					<p id="logo">
						<a>
							<xsl:if
								test="/delegator/response/@status-code='404'">
								<xsl:attribute name="href">
									<xsl:value-of
										select="concat(/delegator/request/@context-path, '/')" />
								</xsl:attribute>
							</xsl:if>
							<img
								src="{/delegator/request/@context-path}/logotip/"
								title="Own-Id" />
						</a>
					</p>
					<xsl:choose>
						<xsl:when
							test="/delegator/response/@status-code='404'">
							<p>404 Not Found</p>
						</xsl:when>
						<xsl:otherwise>
							<h4>Have your own domain as an OpenId</h4>
							<p>
								Own-Id is a free service that lets you
								use your own domain name (eg.
								id.example.com) as your
								<a
									href="http://en.wikipedia.org/wiki/OpenID">
									<xsl:value-of select="'OpenId'" />
								</a>
								Identifier. Follow these steps to set up
								your domain:
							</p>
							<ol class="red">
								<li>
									In the DNS, create a CNAME record
									that points your domain name (eg.
									id.example.com) to 'www.own-id.com'.
								</li>
								<li>
									Go to the domain you just created
									(eg. http://id.example.com/) and
									follow the instructions there...
								</li>
							</ol>

							<h4>
								Why is it a good idea to have my own
								domain name as an OpenId?
							</h4>

							<p>
								The advantages are similar to those for
								using your own domain in an email
								address:
							</p>

							<ul>
								<li>
									You can change provider while
									keeping the same OpenId.
								</li>
								<li>It looks neat.</li>
							</ul>
						</xsl:otherwise>
					</xsl:choose>
					<br />
					<script type="text/javascript">
						/*
						<javascript-escape>
							<![CDATA[      */
					
google_ad_client = "pub-0636624415090336";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
//2007-10-13: own-id
google_ad_channel = "7723682505";
google_color_border = "CCCCCC";
google_color_bg = "CCCCCC";
google_color_link = "000000";
google_color_text = "333333";
google_color_url = "666666";
google_ui_features = "rc:6";

				/* ]]>
						</javascript-escape>
						*/
					</script>
					<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
					</script>
					<p id="footer">
						<a href="mailto:tlocke@tlocke.org.uk">
							<xsl:value-of select="'Contact'" />
						</a>
						<xsl:value-of select="' | '" />
						<a
							href="http://blog.tlocke.org.uk/search/label/own-id">
							<xsl:value-of select="'Blog'" />
						</a>
						<xsl:value-of select="' | Powered by '" />
						<a
							href="http://code.google.com/p/openid-delegator/">
							<xsl:value-of
								select="'OpenId Delegator Software'" />
						</a>
						<xsl:value-of select="' | '" />
						<a href="faq/">FAQ</a>
					</p>
				</div>
				<script src="http://www.google-analytics.com/urchin.js"
					type="text/javascript">
				</script>
				<script type="text/javascript">
					_uacct = "UA-1004155-9"; urchinTracker();
				</script>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>